package com.cheetah.dispatcher;

import com.cheetah.concurrent.CheetahThreadPoolExecutor;
import lombok.Data;

import java.lang.reflect.Method;
import java.util.concurrent.Executor;

/**
 * @ClassName RequestMapping
 * @Description: TODO
 * @Author Administrator
 * @Date 2019/7/19
 * @Version V1.0
 **/
@Data
public class RequestMapping {

    private Object handler;

    private Method method;

    private String mapping;

    private CheetahThreadPoolExecutor executor;

    private boolean auth = true;
}
